<%--
  Created by IntelliJ IDEA.
  User: WT-SUN
  Date: 2017/4/18
  Time: 13:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!doctype html>
<html lang="zh">
<head>
    <title>新增职业病</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/occupationalHealth/occDiseases/add.js"></script>
</head>
<body>
<div class="form-wrap">
    <form id="disForm" method="post">
        <table cellspacing="0" cellpadding="0" class="watch-table" style="width: 600px">
            <tr>
                <td class="watch-td">职业病类型<span>*</span></td>
                <td colspan="8" class="watch-tdA">
                    <input id="diseasesType" name="diseasesType" type="text" style="width: 480px;" data-options="required:true">
                </td>
            </tr>
            <tr>
                <td class="watch-td">职业病名称<span>*</span></td>
                <td colspan="8" class="watch-tdA">
                    <input class="easyui-textbox" type="text" style="width: 480px" name="diseasesName" data-options="required:true">
                </td>
            </tr>
            <tr>
                <td class="watch-td">编码</td>
                <td colspan="8" class="watch-tdA">
                    <input class="easyui-textbox" type="text" style="width: 480px" data-options="validType:'checkCode'" name="diseasesCode" >
                    <label style="display:none;color: red" id="code_err">当前编码已存在！</label>
                </td>
            </tr>
            <tr>
                <td class="watch-td">备注</td>
                <td colspan="8" class="watch-tdA">
                    <input class="easyui-textbox" type="text" style="height: 100px;width: 480px" name="remarks" data-options="multiline:true">
                </td>
            </tr>
        </table>

    </form>
    <div class="form-button">
        <a href="javascript:void(0)" onclick="submitForm()" class="easyui-linkbutton"
           data-options="iconCls:'fa fa-save fa-lg'">保存</a>
        <a href="javascript:void(0)" onclick="clearForm()" class="easyui-linkbutton"
           data-options="iconCls:'fa fa-remove fa-lg'">清空</a>
    </div>
</div>
</body>
</html>

